package com.project.light.entity;

import lombok.Data;

import javax.persistence.*;
import java.io.Serializable;

@Data
@Table(name = "B_Area")
public class Area implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 区域编号
     */
    @Column(name = "AreaCode")
    private String areaCode;

    /**
     * 区域名称
     */
    @Column(name = "AreaName")
    private String areaName;

    /**
     * ID
     */
    @Id
    @Column(name = "ID")
    private Integer id;
}
